﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ControlNhatKyXuatNhapHang.ascx.cs"
    Inherits="ControlUser_ControlNhatKyXuatNhapHang" %>
<%@ Register Src="uscMsgBox.ascx" TagName="uscMsgBox" TagPrefix="uc2" %>
<%@ Register Assembly="DevExpress.Web.ASPxPivotGrid.v9.2.Export, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.XtraPivotGrid.Web" TagPrefix="dxpgw" %>
<%@ Register Assembly="DevExpress.Web.ASPxPivotGrid.v9.2" Namespace="DevExpress.Web.ASPxPivotGrid"
    TagPrefix="dxwpg" %>
<link rel="stylesheet" href='<%=ResolveUrl("~/LayoutCss/K_BaoCaoFormLayout.css")%>'
    type="text/css" />
<%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:PostBackTrigger ControlID="Button1" />
</Triggers>
    <ContentTemplate>
    
    </ContentTemplate>
</asp:UpdatePanel>--%>
<fieldset>
    <legend>Báo cáo nhật ký xuất nhập hàng</legend>
    <div>
        <table>
            <tr>
                <td>
                    Mã kiểm soát
                </td>
                <td>
                </td>
                <td>
                    <asp:TextBox ID="txtMaKiemSoat" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:Button ID="btReport" runat="server" Text="Báo cáo" 
                        OnClick="btReport_Click" style="height: 20px" />
                    &nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" Text="Xuất ra Excel" OnClick="Button1_Click" />
                </td>
                
            </tr>
        </table>
    </div>
</fieldset>
<br />
<dxpgw:ASPxPivotGridExporter ID="ASPxPivotGridExporter1" runat="server" ASPxPivotGridID="ASPxPivotGrid1">
</dxpgw:ASPxPivotGridExporter>
<dxwpg:ASPxPivotGrid ID="ASPxPivotGrid1" runat="server">
    <OptionsView ShowDataHeaders="False" ShowRowGrandTotals="False" ShowRowTotals="False" />
    <Fields>
        <dxwpg:PivotGridField HeaderStyle-BackColor="Yellow" ID="PivotGridField1" Area="FilterArea"
            AreaIndex="0" Caption="Báo cáo nhật ký xuất nhập hàng" FieldName="Baocao" Visible="True">
        </dxwpg:PivotGridField>
        <dxwpg:PivotGridField HeaderStyle-BackColor="Yellow" ID="PivotGridField4" Area="FilterArea"
            AreaIndex="2" Caption="Giờ : " FieldName="Time" Visible="True">
        </dxwpg:PivotGridField>
    </Fields>
</dxwpg:ASPxPivotGrid>
<uc2:uscMsgBox ID="uscMsgBox1" runat="server" />
